package com.koron.order.overhaul.bean.dto;

import com.koron.bean.base.BaseBean;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @author twcao
 * @description: 设备台账
 * @date 2021/7/7 17:14
 */
@Data
@ApiModel(value = "设备台账", description = "设备台账")
public class Equipment extends BaseBean {

    @ApiModelProperty(value = "设备系统编码")
    private String code;

    @ApiModelProperty(value = "设备名称")
    private String name;

    @ApiModelProperty(value = "父级设备id")
    private String parentId;

    @ApiModelProperty(value = "父级设备名称")
    private String parentName;

    @ApiModelProperty(value = "层级")
    private Integer level;

    @ApiModelProperty(value = "层级编码")
    private Integer levelCode;

    @ApiModelProperty(value = "层级路径")
    private String levelPath;

    @ApiModelProperty(value = "kks编码")
    private String encode;

    @ApiModelProperty(value = "组织id")
    private String deptId;

    @ApiModelProperty(value = "设备分类编码")
    private String typeId;

    @ApiModelProperty(value = "设备分类名称")
    private String typeName;

    @ApiModelProperty(value = "业务层级，水司、部门、......")
    private String floor;

    @ApiModelProperty(value = "是否虚拟节点（1：是，0：否）")
    private String isVirtual;

    @ApiModelProperty(value = "状态（1：启用，0：停用）")
    private String status;

    @ApiModelProperty(value = "排序字段")
    private Integer sort;

    @ApiModelProperty(value = "子节点")
    private List<Equipment> children;

    @ApiModelProperty(value = "全路径")
    private String fullPathName;

    @ApiModelProperty(value = "是否有子集")
    private boolean hasChildren;

    @ApiModelProperty(value = "组织名称")
    private String deptName;

    @ApiModelProperty(value = "纬度")
    private String latitude;

    @ApiModelProperty(value = "经度")
    private  String longitude;


}
